from api.basic_api import BaseBuyerApi

class ReturnGoodsApi(BaseBuyerApi):

    def __init__(self,order_sn,sku_id,region):
        super().__init__()
        self.url = f'{self.host}/after-sales/apply/return/goods'
        self.method = 'post'
        self.data = {
            'service_type': 'RETURN_GOODS',
            'images': 'http://59.36.173.55:7000/statics/attachment/normal/2024/11/14/23/03425185.png',
            'return_num': 1,
            'ship_addr': 'dbhfdsj',
            'ship_name': 'khb',
            'ship_mobile': '18829887788',
            'account_type': 'BANKTRANSFER',
            'bank_name': '中国银行',
            'bank_deposit_name': '青年',
            'bank_account_name': '张三',
            'bank_account_number': '389839',
            'reason': '发错货',
            'problem_desc': '不想说啥了，就想退',
            'order_sn': order_sn,
            'sku_id': sku_id,
            'apply_vouchers': '',
            'region': region,
        }